# -*- mode: org; fill-column: 80; -*-
#+TITLE: Keyboard
#+AUTHOR: Zelphir Kaltstahl
#+STARTUP: content indent align inlineimages entitiesplain nologdone nologreschedule nologredeadline nologrefile
#+TODO: TODO WIP | DONE
#+DATE: [2022-04-06 Mi]
#+LANGUAGE: English
#+PRIORITIES: A C C


* Detect key codes for keys

#+begin_src shell
xev -event keyboard
#+end_src

* Remap keys

#+begin_src shell
# remap caps lock to control
setxkbmap -layout de -option ctrl:nocaps
setxkbmap -layout de -option ctrl:swapcaps
#+end_src
